import { View } from '@tarojs/components';
import React from 'react';
import IconFont from '../iconfont';

const Icon = ({ className, name, size, color, ...rest }) => {
  return (
    <View className={className + ' customePageStyleSvg'} {...rest}>
      <IconFont {...{ name, size, color: color ?? '#ff0d49' }} />
    </View>
  );
};

export default Icon;
